<template>
  <view class="container">
    <page-meta>
      <navigation-bar />
    </page-meta>
    <view class="content">
      <slot></slot>
    </view>
  </view>
</template>

<script lang="ts" setup>
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";

onLaunch(() => {
  console.log("App Launch");
});

onShow(() => {
  console.log("App Show");
});

onHide(() => {
  console.log("App Hide");
});
</script>

<style lang="scss">
// 配置主题色
:root,
page {
  --nut-primary-color: #578c43;
}
.uni-modal__btn_primary {
  color: #578c43 !important;
}

// 配置页面背景色
.page_bg {
  background-color: #fdfafa;
  width: 100vw;
  height: 95vh;
}

@import "nutui-uniapp/styles/index.scss";
@import "tailwindcss/base";
@import "tailwindcss/utilities";
@import "tailwindcss/components";
</style>
